package com.yww.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yww.entity.StuParam;
import com.yww.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 雯雯yang婷婷
 * @since 2020-06-02
 */
public interface IStudentService extends IService<Student> {
    Integer delStu(Integer id);

    boolean updateBatch(@Param("userId")Integer userId, @Param("ids")String ids);

    List<StuParam> getStuList(StuParam stuParam);

    /**
     * 下载（批量导出）
     * @param ids
     * @return
     */
    List<Student> exportStudent(String[] ids);

    List<StuParam> selectStuListByCon(StuParam stuParam);

    List<StuParam> selectStuListByWWWCon(StuParam stuParam);

    Integer delBatchId(String[] ids);

    Integer updBatchId(@Param("ids") String[] ids,@Param("usersId") Integer usersId);

    List<StuParam>  getStuListDelete(StuParam stuParam);

    boolean updateBatchClass(@Param("id") Integer id,@Param("ids") String ids);

    List<StuParam> getStuListByIsPay(StuParam stuParam);



}
